AddDispatchModule
TheAddDispatchModule
method adds the specified dispatch module for the specified event type to the dispatch module dictionary.
void AddDispatchModule ( in ODEventType eventType, in ODDispatchModule dispatchModule);
eventType
- A platform-specific event code that specifies the type of event to be handled by the new dispatch module. On the Mac OS platform, the event code is defined as an unsigned 16-bit value.
dispatchModule
- A reference to a dispatch module to be added.
DISCUSSION
Your part editor calls this method to install a custom dispatch module. This method is not called by part editors under normal circumstances.EXCEPTIONS
kODErrIllegalNullDispatchModuleInput
- The
dispatchModule
parameter is null.SEE ALSO
TheODEventType
type (page 892).
TheODDispatcher::GetDispatchModule
method (page 117).
TheODDispatcher::RemoveDispatchModule
method (page 121).
TheODDispatchModule
class (page 127).
"Creating a Dispatch Module" on page 447 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help